package com.GGG.cloud.house.show.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;



/**
 * @author Liuhao
 * @version 1.0
 * @desc
 * @date 2020/10/5
 * @address 西部国际金融中心2栋2201
 */
@Controller
public class ShowController {

    @RequestMapping("about-us.html")
    public String show(ModelMap modelMap){
        modelMap.put("title","展示页面-关于我们");
        modelMap.put("desc","买房子，到老九");
        return "about-us";
    }

    @RequestMapping("add-properties.html")
    public String show1(ModelMap modelMap){
        modelMap.put("title","展示页面-增加房产");
        modelMap.put("desc","买房子，到老九");
        return "add-properties";
    }

    @RequestMapping("contact-us.html")
    public String show2(ModelMap modelMap){
        modelMap.put("title","展示页面-联系我们");
        modelMap.put("desc","买房子，到老九");
        return "contact-us";
    }

    @RequestMapping("gallery-2-column.html")
    public String show3(ModelMap modelMap){
        modelMap.put("title","展示页面-2列画廊展示");
        modelMap.put("desc","买房子，到老九");
        return "gallery-2-column";
    }

    @RequestMapping("gallery-3-column.html")
    public String show4(ModelMap modelMap){
        modelMap.put("title","展示页面-3列画廊展示");
        modelMap.put("desc","买房子，到老九");
        return "gallery-3-column";
    }

    @RequestMapping("gallery-4-column.html")
    public String show5(ModelMap modelMap){
        modelMap.put("title","展示页面-4列画廊展示");
        modelMap.put("desc","买房子，到老九");
        return "gallery-4-column";
    }

    @RequestMapping("my-account.html")
    public String show6(ModelMap modelMap){
        modelMap.put("title","展示页面-我的账号");
        modelMap.put("desc","买房子，到老九");
        return "my-account";
    }
}
